import { uploadInstance } from '@/utils/request'

// CRUD


export const getToken = () => {
  return uploadInstance.post('/upload/token')
}



export const upload = (formdata: FormData) => {
  return uploadInstance.post('https://upload-z1.qiniup.com', formdata)
}

